
module.exports = (router) => {
    const classify = require('../../../colltrollers/admin/Classify');
    /**新增分类 */
    router.post('/classify/add', classify.addClassify);
    /**删除分类 */
    router.get('/classify/del', classify.delClassify);
    /**修改分类状态 */
    router.get('/classify/state', classify.stateClassify);
    /**查询一级分类 */
    router.get('/classify/query', classify.queryClassify);
    /**查询分类列表 */
    router.get('/classify/list', classify.queryList);
    /**添加三级分类详细 */
    router.post('/classify/detail', classify.addDetail);
}